package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.activity.ActivityDTO;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {
    PageResult<Activity> list(ActivityDTO activityDTO);

    void addActivity(Activity activity);

    void deleteById(Integer id);

    Activity getById(Integer id);

    void updateActivity(Activity activity);

    List<Activity> getByType(Integer type);
}
